//
//  MDNormalCell.swift
//  麦兜直播
//
//  Created by Apple on 16/10/12.
//  Copyright © 2016年 yeqingyu. All rights reserved.
//

import UIKit

class MDNormalCell: UICollectionViewCell {
    var home:MDRoom?{
        didSet{
          print(home?.room_name)
          roomName.text = home?.room_name
            title.text = home?.nickname            
            online.text = "\(home!.online)"
         let url  = URL(string: (home?.vertical_src)!)
          iconView.kf.setImage(with: url, placeholder: UIImage(named: "Img_default"))
        }
    }
    @IBOutlet weak var iconView: UIImageView!
    @IBOutlet weak var online: UILabel!
    @IBOutlet weak var title: UILabel!
    @IBOutlet weak var roomName: UILabel!
  
}
